package com.qf.bank.userinfoapi.fallback;

import com.qf.bank.userinfoapi.api.UserInfoApi;
import com.qf.bank.userinfoapi.po.UserInfo;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author 乔-wlyjh
 * @date 2019/12/6 19:09
 */
@Component
public class UserInfoApiError implements UserInfoApi {
//    @Override
//    public IPage<UserInfo> page(int current, int size) {
//        return null;
//    }

//    @Override
//    public IPage<UserInfo> page(int current, int size) {
//        return null;
//    }

    @Override
    public List findAll() {
        return null;
    }

    @Override
    public UserInfo findOne(int id) {
        return null;
    }

    @Override
    public boolean deleteById(int id) {
        return false;
    }

    @Override
    public boolean update(UserInfo userInfo) {
        return false;
    }

    @Override
    public UserInfo insert(UserInfo userInfo) {
        return null;
    }
}
